package br.com.firula.bo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.firula.bo.TorcidaBO;
import br.com.firula.dao.TorcidaDAO;
import br.com.firula.to.TorcidaTO;

@SuppressWarnings("unchecked")
@Service("torcidaBO")
public class TorcidaBOImpl extends GenericBOImpl implements TorcidaBO {

    @Autowired
    public void setTorcidaDAO(TorcidaDAO dao) {
        this.dao = dao;
    }

    public TorcidaBOImpl(){
    	setType("br.com.firula.to.TorcidaTO");
    }

    public TorcidaTO getTorcidaById(String id) {
    	return (TorcidaTO)get(id);
    }
}